package com.wanban.download

import android.app.NotificationManager
import android.app.Service
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent

class NotificationReceiver : BroadcastReceiver() {

    override fun onReceive(context: Context?, intent: Intent?) {
        val manager = context?.getSystemService(Service.NOTIFICATION_SERVICE) as NotificationManager?
        manager?.cancelAll()
    }
}